package com.fare.taluo.fetl.domain.repository.history;

import java.util.Date;
import java.util.List;

import com.fare.taluo.vo.core.PlaneInfo;

public interface IDoublePlaneInfoHistoryRepository {

	/**
	 * 查询抓取日期下的历史数据
	 * 
	 * @param crawlDate
	 * @param hbaseKey
	 * @param fromCode
	 * @param toCode
	 * @param flightDate
	 * @return
	 */
	public List<PlaneInfo> find(Date crawlDate, String hbaseKey,
			String fromCode, String toCode, Date flightDate,
			Date returnFlightDate) throws Exception;

	/**
	 * 查询抓取日期下指定航班历史数据
	 * 
	 * @param crawlDate
	 * @param hbaseKey
	 * @param fromCode
	 * @param toCode
	 * @param flightDate
	 * @param flightNos
	 * @return
	 */
	public List<PlaneInfo> find(Date crawlDate, String hbaseKey,
			String fromCode, String toCode, Date flightDate, String flightNo,
			Date returnFlightDate) throws Exception;
}
